<?php
if (!isset($lastColumn))
{
	$lastColumn = Interfaz::defaultGridViewButtons();
}

$properties = array(
	'id'=>'profesores-grid',
	'dataProvider'=>$dataProvider,
	//'filter'=>$filter,
	'type'=>'striped bordered condensed',
	'template'=>"{items}\n{pager}",
	'columns'=>array(
		'fullname',//array ('name'=>'fullname','value'=>'$data->display','type'=>'text'),
		'codigo',
		$lastColumn,
	),
);
if (isset($filter))
	$properties['filter'] = $filter;

$this->widget('bootstrap.widgets.TbGridView', $properties); ?>